x2apic: Remove a panic condition in enabling x2APIC
authorKeir Fraser <keir@xen.org>
Mon, 15 Nov 2010 09:31:38 +0000 (09:31 +0000)
committerKeir Fraser <keir@xen.org>
Mon, 15 Nov 2010 09:31:38 +0000 (09:31 +0000)
commit2988e3b9d23d67053eff5309e14b8d0ae1ba8591
treeaa818c8d489502b84e5b8330ad128838b08d2ce6
parent9a36faf0c63bbb898d26f2114f0cb71b723f66c9
x2apic: Remove a panic condition in enabling x2APIC

Currently Xen triggers a panic if user disables VT-d by command line
while not disable x2APIC. This requires users to specify both
"iommu=0" and "x2apic=0" to disable VT-d if the platform supports
x2APIC. It's not user friendly. This patch removes the panic
condition. That's to say, don't require user to specify "x2apic=0"
when specify "iommu=0". As long as VT-d is not enabled (disabled in
BIOS or in command line), x2APIC won't be enabled naturally (x2APIC
depends on VT-d Interrupt remapping).

Signed-off-by: Weidong Han <weidong.han@intel.com>
xen/arch/x86/apic.c